package com.bf.electroplating.pojo.vo.home;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 污水厂树VO
 *
 * @author system
 * @since 2025-01-11
 */
@Data
@Schema(description = "污水厂树VO")
public class SewagePlantTreeVO {

    @Schema(description = "节点ID")
    private String id;

    @Schema(description = "节点名称")
    private String name;

    @Schema(description = "节点类型：plant-污水厂，outlet-出水口")
    private String type;

    @Schema(description = "父节点ID")
    private String parentId;

    @Schema(description = "污水厂名称")
    private String plantName;

    @Schema(description = "污水厂编码")
    private String plantCode;

    @Schema(description = "出水口类型")
    private String outletType;

    @Schema(description = "是否为叶子节点")
    private Boolean leaf;

    @Schema(description = "子节点列表")
    private List<SewagePlantTreeVO> children;

    @Schema(description = "检测数据数量")
    private Long dataCount;

    @Schema(description = "最新检测日期")
    private String latestDetectionDate;
}
